package com.zjg.vue_cms.user.dto;

import lombok.Data;

import java.util.Date;

/**
 * @author guass
 * @date 2022年04月16日 15:51
 */
@Data
public class UserInfo {
    private Long id;
    private String name;
    private String realName;
    private String cellphone;
    private Integer enabled;
    private Date createTime;
    private Date updateTime;

    private Role role;

    private Department department;


    @Data
    public static class Role{
        private Integer id;
        private String name;
        private String intro;
        private Date createTime;
        private Date updateTime;
    }

    @Data
    public static class Department{
        private int id;
        private String name;
        private Integer parentId;
        private Date createTime;
        private Date updateTime;
        private String leader;
    }
}
